package com.ruge.system.pojo.entity;

import com.ruge.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * @author ：爱丽丝、如歌
 * @time ：2020/3/12  21:42
 * 描述 ：
 */
@Data
@Entity
@ApiModel(value="系统公告表")
public class Notice extends BaseEntity {
    @ApiModelProperty(name = "公告标题")
    @Column(columnDefinition = "varchar(100) COMMENT '公告标题'")
    private String title;
    @ApiModelProperty(name = "公告内容")
    @Column(columnDefinition = "text COMMENT '公告内容'")
    private String content;
}
